package cam.School.DataAccessObject;

import java.io.IOException;

import cam.School.DAOException.DAOException;
import cam.School.DataTransfertObject.CallResult;
import cam.School.DataTransfertObject.ImageDTO;

public interface ImageDAO {
	public CallResult upload(long objectId, String filepath) throws IllegalArgumentException, DAOException, IOException;

		
	public CallResult updateEmployeeImage(long objectId, String filepath) throws IllegalArgumentException, DAOException, IOException;

	
	public void update(ImageDTO picture);

	public void delete(long objectIdBelongTo);

	public ImageDTO[] findAll();

	public ImageDTO getFileById(long objectIdBelongTo) throws DAOException, IOException;

}
